﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MarketOnlineDAO;
using MarketOnlineDTO;

namespace MarketOnlineBUS
{
    public class TinhTrangHoaDonBUS
    {
        public Boolean ThemTinhTrangHoaDon(TinhTrangHoaDonDTO tthd)
        {
            return new TinhTrangHoaDonDAO().ThemTinhTrangHoaDon(tthd);
        }

        public Boolean XoaTinhTrangHoaDon(TinhTrangHoaDonDTO tthd)
        {
            return new TinhTrangHoaDonDAO().XoaTinhTrangHoaDon(tthd);
        }

        public Boolean CapNhatBangTinhTrangHoaDon(TinhTrangHoaDonDTO tthd)
        {
            return new TinhTrangHoaDonDAO().CapNhatBangTinhTrangHoaDon(tthd);
        }

        public List<TinhTrangHoaDonDTO> LayDanhSachTinhTrangHoaDon()
        {
            return new TinhTrangHoaDonDAO().LayDanhSachTinhTrangHoaDon();
        }
    }
}
